package appmodel

import "github.com/zeromicro/go-zero/core/stores/sqlx"

var _ GatewayAppModel = (*customGatewayAppModel)(nil)

type (
	// GatewayAppModel is an interface to be customized, add more methods here,
	// and implement the added methods in customGatewayAppModel.
	GatewayAppModel interface {
		gatewayAppModel
	}

	customGatewayAppModel struct {
		*defaultGatewayAppModel
	}
)

// NewGatewayAppModel returns a model for the database table.
func NewGatewayAppModel(conn sqlx.SqlConn) GatewayAppModel {
	return &customGatewayAppModel{
		defaultGatewayAppModel: newGatewayAppModel(conn),
	}
}
